
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title><?php echo $view_title?></title>
	<link rel=stylesheet href='./template/<?php echo $OJ_TEMPLATE?>/<?php echo isset($OJ_CSS)?$OJ_CSS:"hoj.css" ?>' type='text/css'>
</head>
<body>
<?php require_once("oj-header.php");?>

<center>
<div class="container">
<form class="form-horizontal col-sm-6 col-sm-offset-2" action="register.php" method="post">
	<br><br>
	<div class="form-group">
        <label for="username" class="col-sm-5 control-label">用户名(必填)</label>
        <div class="col-sm-7">
            <input class="form-control" id="username" name="user_id" type="text" placeholder="3-14英文字符"/></div>
    </div>
	<div class="form-group">
        <label class="col-sm-5 control-label" for="nick">真实姓名(必填)</label>
        <div class="col-sm-7">
            <input class="form-control" name="nick" id="nick" type="text" placeholder="3-4的中文字符"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-5 control-label" for="password">密码(必填)</label>
        <div class="col-sm-7">
            <input class="form-control" id="password" name="password" type="password" placeholder="6-16的字符"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-5 control-label" for="confirm">重复密码(必填)</label>
        <div class="col-sm-7">
            <input class="form-control" id="confirm" name="rptpassword" type="password" placeholder="重复一遍"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-5 control-label" for="school">学校</label>
        <div class="col-sm-7">
            <input class="form-control" name="school" id="school" type="text" placeholder="30 字以下" value="安溪一中"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-5 control-label" for="email">邮箱(必填)</label>
        <div class="col-sm-7">
            <input class="form-control" name="email" id="email" type="text" placeholder="30 字以下"/>
        </div>
    </div>
	<?php if($OJ_VCODE){?>
	<div class="form-group">
        <label class="col-sm-5 control-label" for="invcode">邀请码</label>
        <div class="col-sm-7">
            <input class="form-control" name="invcode" id="invcode" type="text" placeholder="请询问管理员"/>
        </div>
    </div>
	<?php }?>
    <div class="form-group">
        <div class="col-sm-offset-5 col-sm-7">
            <input type="submit" class="btn btn-primary col-sm-8" value="提交注册"/>
        </div>
    </div>
</form>
</div>
</center>
	
	
	

<div id=foot>
	<?php require_once("oj-footer.php");?>

</div><!--end foot-->
</div><!--end main-->
</div><!--end wrapper-->
</body>

</html>
